<!--  -->
<template>
  <van-nav-bar
    class="my-top-bar"
    title="课堂中心"
    left-text="返回"
    left-arrow
    @click-left="onClickLeft"
    @click-right="onClickRight"
  >
    <template #left>
      <van-icon name="wap-home-o" size="18" />
    </template>
  </van-nav-bar>
</template>

<script>
export default {
  name: "mytopbar",

  data() {
    return {};
  },
};
</script>
<style lang='scss' scoped>
.my-top-bar {
  .van-icon {
    font-size: 18px;
  }
}
</style>
